package com.pz.art.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * @author lw
 * @params
 * @date
 * @note 会员单位表
 */
@Setter
@Getter
@ToString
public class AssoMemberUnit extends BaseEntity {
    /**
     * id
     */
    private Integer id;

    /**
     * 会员单位logo
     */
    @Excel(name = "会员单位logo")
    private String member_logo;

    /**
     * 会员单位名称
     */
    @Excel(name = "会员单位名称")
    private String member_unit_name;

    /**
     * 单位会员等级
     */
    @Excel(name = "单位会员等级")
    private Integer member_grade;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contact;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String phone;

    /**
     * 职位
     */
    @Excel(name = "职位")
    private String position;


    /**
     * 职位
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 到期时间
     */
    @Excel(name = "到期时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date maturity_time;

    /**
     * 创建时间/入会时间
     */
    @Excel(name = "入会时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date create_time;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date update_time;

    //单位会员总人数
    private Integer member_count;
}
